import {
  Button,
  Layout,
  Icon,
  Drawer,
  Radio,
  Menu,
  Form,
  Input,
  Select,
  ConfigProvider,
  Checkbox,
  Dropdown,
  DatePicker,
  Badge,
  Tabs,
  Spin,
  List,
  Avatar,
  Tooltip,
  Tag,
  message,
  Popover,
  Card,
  InputNumber,
  Col,
  Row,
  Table,
  Pagination,
  FormModel,
  Cascader,
  Upload,
  Modal,
  Empty,
  Result,
  Alert,
  Steps,
  Switch,
  Popconfirm,
  notification,
  Carousel,
  Descriptions,
  Collapse,
  Divider
} from "ant-design-vue";

export default Vue => {
  Vue.use(Button);
  Vue.use(Layout);
  Vue.use(Icon);
  Vue.use(Drawer);
  Vue.use(Radio);
  Vue.use(Menu);
  Vue.use(Form);
  Vue.use(Input);
  Vue.use(Select);
  Vue.use(ConfigProvider);
  Vue.use(Dropdown);
  Vue.use(DatePicker);
  Vue.use(Avatar);
  Vue.use(Tooltip);
  Vue.use(Badge);
  Vue.use(Tabs);
  Vue.use(Spin);
  Vue.use(List);
  Vue.use(Tag);
  Vue.use(Popover);
  Vue.use(Card);
  Vue.use(InputNumber);
  Vue.use(Col);
  Vue.use(Row);
  Vue.use(Table);
  Vue.use(Pagination);
  Vue.use(FormModel);
  Vue.use(Cascader);
  Vue.use(Upload);
  Vue.use(Modal);
  Vue.use(Checkbox);
  Vue.use(Empty);
  Vue.use(Result);
  Vue.use(Alert);
  Vue.use(Steps);
  Vue.use(Switch);
  Vue.use(Popconfirm);
  Vue.use(Carousel);
  Vue.use(Descriptions);
  Vue.use(Collapse);
  Vue.use(Divider);
  Vue.prototype.$confirm = Modal.confirm;
  Vue.prototype.$message = message;
  Vue.prototype.$modal = Modal;
  Vue.prototype.$notification = notification;
};
